<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<jsp:include page="../extInclude.jsp" />
<script type="text/javascript" src="<%=basePath%>/js/selector/DeptSelector.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/selector/UserSelector.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/selector/TyksUserSelector.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/selector/ExUserSelector.js"></script>
<script type="text/javascript">
//部门选择器回调函数
var selDep=function(ids,values){
document.getElementById('ids').value=ids;
document.getElementById('values').value=values;
}
//用户选择器回调函数
var selUser=function(ids,values){
document.getElementById('ids').value=ids;
document.getElementById('values').value=values;
}
//统一考试用户选择器回调函数
var selTyksUser=function(ids,values){
document.getElementById('ids').value=ids;
document.getElementById('values').value=values;
}
</script>
<input type=button value="部门选择器(单选)" onclick="DeptSelector.getView(selDep,true).show()">
<br>
<input type=button value="部门选择器(多选)" onclick="DeptSelector.getView(selDep,false).show()">
<Br>
<Br>
<input type=button value="用户选择器(单选)" onclick="UserSelector.getView(selUser,true).show()">
<br>
<input type=button value="用户选择器(多选)" onclick="UserSelector.getView(selUser,false).show()">
<br>
<br>

<input type=button value="统考用户选择器(多选)" onclick="TyksUserSelector.getView(selUser,false).show()">
<br>
<br>
<input type=button value="扩展用户选择器(多选)" onclick="new ExUserSelector().show()">
<br>
<br>
ids:
<input type=text id="ids">
values:
<input type=text id="values">